package cn.ibizlab.odoo.core.odoo_website.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.odoo.core.odoo_website.domain.Website_page;
import cn.ibizlab.odoo.core.odoo_website.filter.Website_pageSearchContext;

/**
 * 实体[Website_page] 服务对象接口
 */

public interface IWebsite_pageService{
     boolean update(Website_page website_page) ;
     void removeBatch(Collection<? extends Serializable> idList, int batchSize) ;
     Website_page get(Integer id) ;
     Website_page get(Website_page website_page) ;
     void updateBatch(List<Website_page> website_pages, int batchSize) ;
     boolean remove(Integer id) ;
     boolean create(Website_page website_page) ;
     void createBatch(List<Website_page> website_pages, int batchSize) ;

    /**
     * 查询集合 默认查询
     */
    Page<Website_page> searchDefault(Website_pageSearchContext context) ;

    /**
     * 根据用户查询
     */
     Page<Website_page> selectByOdoo_create(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Website_page> selectByOdoo_write(Integer id) ;

    /**
     * 转换ClientModel为Domain
     */
    public Website_page convert2Domain(cn.ibizlab.odoo.core.client.model.Iwebsite_page model ,Website_page domain);

    /**
     * 转换Domain为ClientModel
     */
    public cn.ibizlab.odoo.core.client.model.Iwebsite_page convert2Model(Website_page domain , cn.ibizlab.odoo.core.client.model.Iwebsite_page model);

}
